import { get, post } from "../../request/http";

/**
 * 创建课时
 * @param param
 * @returns {Promise}
 */
export function creatPeriod(param) {
  return post('/education/period/creatPeriod', param)
}


// getPeriodByChapterId:(params)=>get("/education/period/getPeriodByChapterId",params),//通过章节id获取课时


export function getPeriodByChapterId(params){
  return get("/education/period/getPeriodByChapterId",params);
}


